<template>
  <div class="header">
    <!--_______    /前后2个空格为准     ______-->
    <p>{{headline1}}&nbsp;<span>{{headline2}}</span>  </p>
  </div>
</template>

<script>
  export default {
    name: 'Headline',
    props: {
      headline1: {
        type: String,
        default: ''
      },
      headline2: {
        type: String,
        default: ''
      }
    }
  }
</script>

<style scoped>
  p {
    height: 30px;
    /*line-height: 30px;*/
    padding: 0;
    margin-top: 10px;
    font-size: 14px;
    color: black;
    font-weight: bold;
  }
  span {
    font-size: 14px;
    font-weight: 400;
    color: darkgray;
  }
  .header{
    margin: 25px 0 0 0;
  }
</style>